namespace MalwareMultiScan.Api.Data.Models
{
    /// <summary>
    /// Scan result entry.
    /// </summary>
    public class ScanResultEntry
    {
        /// <summary>
        /// Completion status.
        /// </summary>
        public bool Completed { get; set; }
        
        /// <summary>
        /// Indicates that scanning completed without error.
        /// </summary>
        public bool? Succeeded { get; set; }
        
        /// <summary>
        /// Scanning duration in seconds.
        /// </summary>
        public long Duration { get; set; }
        
        /// <summary>
        /// Detected names of threats.
        /// </summary>
        public string[] Threats { get; set; }
    }
}